<?php $nao_mostrar = array('liberar_sistema', 'desligar_sistema');?>
<h2>Datas Importantes</h2>
<table class="table table-bordered table-striped table-hover table-small text-center">
	<?php foreach($datas as $item){?>
		<?php if(!$item['Data']['ignorar']){?>
			<?php if(!in_array($item['Data']['nome_sistema'], $nao_mostrar)){?>
			<tr>
				<td width="150px">
				<strong>
				<?php if($item['Data']['mostrar_horas']){?>
					<?php echo $this->Time->format('d/m/Y - H:i:s', $item['Data']['data']);?>
				<?php }else{?>
					<?php echo $this->Time->format('d/m/Y', $item['Data']['data']);?>
				<?php }?>
				</strong>
				</td>
				<td><?php 
				if(!empty($item['Data']['nome']))
					echo $item['Data']['nome'];
				else echo $item['Data']['descricao_fixa'];
				?></td>
			</tr>
			<?php }?>
		<?php }?>
	<?php }?>
</table>
<?php //pr($datas); ?>